home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmScaleSetTicks.z
/
XmScaleSetTicks
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss - A Scale function that controls tick marks
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Scale.h>
vvvvooooiiiidddd XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss(
WWWWiiiiddddggggeeeetttt ssssccccaaaalllleeee,
iiiinnnntttt bbbbiiiigggg____eeeevvvveeeerrrryyyy,
CCCCaaaarrrrddddiiiinnnnaaaallll nnnnuuuummmm____mmmmeeeeddddiiiiuuuummmm,
CCCCaaaarrrrddddiiiinnnnaaaallll nnnnuuuummmm____ssssmmmmaaaallllllll,
DDDDiiiimmmmeeeennnnssssiiiioooonnnn ssssiiiizzzzeeee____bbbbiiiigggg,
DDDDiiiimmmmeeeennnnssssiiiioooonnnn ssssiiiizzzzeeee____mmmmeeeeddddiiiiuuuummmm,
DDDDiiiimmmmeeeennnnssssiiiioooonnnn ssssiiiizzzzeeee____ssssmmmmaaaallllllll);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss controls the number, location, and size of
the tick marks on a Scale. Each tick mark is a
SeparatorGadget oriented perpendicular to the Scale's
orientation. For example, if the Scale is oriented
horizontally, the tick marks will be oriented vertically.
If you specify tick marks for a Scale and then change the
Scale's orientation, you will have to do the following:
+o Remove all the tick marks. To remove tick marks from a
Scale, you must destroy (with _X_t_D_e_s_t_r_o_y_C_h_i_l_d_r_e_n) the
SeparatorGadget tick marks. The first two children of
a Scale are its title and scroll bar, and all
additional children are tick marks.
+o Recreate the tick marks by calling XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss.
_s_c_a_l_e Specifies the Scale widget ID that is getting the
tick marks.
_b_i_g__e_v_e_r_y Specifies the number of scale values between big
ticks.
_n_u_m__m_e_d_i_u_m
Specifies the number of medium ticks between big
values.
_n_u_m__s_m_a_l_l Specifies the number of small ticks between medium
values.
_s_i_z_e__b_i_g Specifies the size (either width or height) of the
big ticks.
_s_i_z_e__m_e_d_i_u_m
Page 1 (printed 10/24/98)
XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX))))
Specifies the size (either width or height) of the
medium ticks.
_s_i_z_e__s_m_a_l_l
Specifies the size (either width or height) of the
small ticks.
For a complete definition of Scale and its associated
resources, see XXXXmmmmSSSSccccaaaalllleeee(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmSSSSccccaaaalllleeee(3).
Page 2 (printed 10/24/98)